Skip to content

fix: find EESSI's Lmod where the shell has no module command - #66

Merged
HaoZeke merged 1 commit into
mainfrom
fix/eessi-lmod-init
Nov 17, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
fix/eessi-lmod-init

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

On a host whose only Lmod is EESSI's, a build in an allocation stopped with eb-local: no module command found: the build script tried only $LMOD_PKG/init/bash and /etc/profile.d/lmod.sh. eval "$(eb-local env)" and dev printed module commands, and a new shell reported module: command not found. doctor said that nothing stopped a build.

A build, env and dev now try EESSI's own init last, the one eb-local eb sources. doctor names the init a build sources, and with a site file fails when none of the three can be read. The doctor tests set LMOD_CMD, as Lmod's init does, since their module double stands in for Lmod's.

On a host whose only Lmod is EESSI's, as EESSI's native install sets
it up, a build in an allocation stopped with "eb-local: no module
command found": the build script tried only $LMOD_PKG/init/bash and
/etc/profile.d/lmod.sh. `eval "$(eb-local env)"` and dev printed
module commands a new shell could not run, and doctor said that
nothing stopped a build.

A build, env and dev now try EESSI's own init last, the one
`eb-local eb` sources. doctor names the init a build sources, and with
a site file fails when none of the three can be read. The doctor tests
set LMOD_CMD, as Lmod's init does, since their module double stands in
for Lmod's.
@HaoZeke
HaoZeke merged commit 4534b34 into main Nov 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant